/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
//images folder
var im='images/';

var fonts = {};
   fonts['allura, cursive']='<script src=\"http://use.edgefonts.net/allura:n4:all.js\"></script>';


var resources = [
];
var symbols = {
"stage": {
   version: "1.5.0",
   minimumCompatibleVersion: "1.5.0",
   build: "1.5.0.217",
   baseState: "Base State",
   initialState: "Base State",
   gpuAccelerate: false,
   resizeInstances: false,
   content: {
         dom: [
         {
            id:'Rectangle',
            type:'rect',
            rect:['0px','0px','1366px','700px','auto','auto'],
            fill:["rgba(192,192,192,1)"],
            stroke:[0,"rgba(0,0,0,1)","none"]
         },
         {
            id:'bg',
            type:'image',
            rect:['-264px','0px','1886px','722px','auto','auto'],
            fill:["rgba(0,0,0,0)",im+"bg.jpg",'0px','0px']
         },
         {
            id:'Text',
            type:'text',
            rect:['491px','226px','428px','118px','auto','auto'],
            opacity:1,
            text:"A Story",
            font:['allura, cursive',128,"rgba(44,104,203,1.00)","300","none",""]
         },
         {
            id:'muc-tieu-dao-tao-hoc-thiet-ke-web-lap-trinh-web-tai-htvsitecom-1',
            type:'image',
            rect:['0px','220px','586px','480px','auto','auto'],
            fill:["rgba(0,0,0,0)",im+"muc-tieu-dao-tao-hoc-thiet-ke-web-lap-trinh-web-tai-htvsitecom-1.jpg",'0px','0px']
         },
         {
            id:'Text2',
            type:'text',
            rect:['6px','60px','1160px','138px','auto','auto'],
            text:"Có 1 công ty. Họ vui mừng khi hoàn thành một website.",
            align:"left",
            font:['Courier, Courier New, monospace',48,"rgba(44,104,203,1)","300","none","normal"]
         },
         {
            id:'chimbay',
            type:'image',
            rect:['1366px','7px','110px','53px','auto','auto'],
            fill:["rgba(0,0,0,0)",im+"chimbay.gif",'0px','0px']
         },
         {
            id:'chimbay3con',
            type:'image',
            rect:['1366px','60px','146px','101px','auto','auto'],
            overflow:'hidden',
            fill:["rgba(0,0,0,0)",im+"chimbay3con.gif",'0px','0px']
         },
         {
            id:'cobay',
            type:'image',
            rect:['-150px','0px','150px','105px','auto','auto'],
            fill:["rgba(0,0,0,0)",im+"cobay.gif",'0px','0px']
         }],
         symbolInstances: [

         ]
      },
   states: {
      "Base State": {
         "${_cobay}": [
            ["style", "left", '-150px'],
            ["style", "top", '0px']
         ],
         "${_chimbay3con}": [
            ["style", "top", '60px'],
            ["transform", "rotateZ", '0deg'],
            ["style", "height", '101px'],
            ["style", "overflow", 'hidden'],
            ["style", "left", '1366px'],
            ["style", "width", '146px']
         ],
         "${_chimbay}": [
            ["style", "left", '1366px'],
            ["style", "top", '7px']
         ],
         "${_bg}": [
            ["style", "top", '0px'],
            ["style", "overflow", 'scroll'],
            ["style", "height", '722px'],
            ["style", "left", '-264px'],
            ["style", "width", '1886px']
         ],
         "${_Text}": [
            ["style", "top", '226px'],
            ["style", "opacity", '0'],
            ["style", "font-weight", '300'],
            ["style", "width", '428px'],
            ["color", "color", 'rgba(44,104,203,1.00)'],
            ["style", "font-family", 'allura, cursive'],
            ["style", "left", '491px'],
            ["style", "font-size", '128px']
         ],
         "${_muc-tieu-dao-tao-hoc-thiet-ke-web-lap-trinh-web-tai-htvsitecom-1}": [
            ["style", "top", '620px'],
            ["style", "height", '80px'],
            ["style", "left", '-94px'],
            ["style", "width", '88px']
         ],
         "${_Stage}": [
            ["color", "background-color", 'rgba(255,255,255,1)'],
            ["style", "width", '1366px'],
            ["style", "height", '700px'],
            ["style", "overflow", 'hidden']
         ],
         "${_Rectangle}": [
            ["style", "height", '700px'],
            ["style", "width", '1366px']
         ],
         "${_Text2}": [
            ["subproperty", "filter.contrast", '1'],
            ["transform", "scaleX", '1'],
            ["style", "opacity", '0'],
            ["style", "left", '6px'],
            ["style", "font-size", '48px'],
            ["style", "top", '60px'],
            ["subproperty", "filter.blur", '4px'],
            ["style", "font-family", 'Courier, Courier New, monospace'],
            ["color", "color", 'rgba(44,104,203,1)'],
            ["style", "width", '1160px']
         ]
      }
   },
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 25000,
         autoPlay: true,
         timeline: [
            { id: "eid97", tween: [ "style", "${_Text2}", "opacity", '0.140625', { fromValue: '0.000000'}], position: 7500, duration: 4500 },
            { id: "eid98", tween: [ "style", "${_Text2}", "opacity", '1', { fromValue: '0.140625'}], position: 12000, duration: 500 },
            { id: "eid126", tween: [ "style", "${_cobay}", "left", '74px', { fromValue: '-150px'}], position: 0, duration: 5000 },
            { id: "eid127", tween: [ "style", "${_cobay}", "left", '348px', { fromValue: '74px'}], position: 5000, duration: 5000 },
            { id: "eid129", tween: [ "style", "${_cobay}", "left", '520px', { fromValue: '348px'}], position: 10000, duration: 5000 },
            { id: "eid131", tween: [ "style", "${_cobay}", "left", '818px', { fromValue: '520px'}], position: 15000, duration: 5000 },
            { id: "eid133", tween: [ "style", "${_cobay}", "left", '1378px', { fromValue: '818px'}], position: 20000, duration: 5000 },
            { id: "eid86", tween: [ "style", "${_muc-tieu-dao-tao-hoc-thiet-ke-web-lap-trinh-web-tai-htvsitecom-1}", "top", '516px', { fromValue: '620px'}], position: 7500, duration: 2000 },
            { id: "eid89", tween: [ "style", "${_muc-tieu-dao-tao-hoc-thiet-ke-web-lap-trinh-web-tai-htvsitecom-1}", "top", '398px', { fromValue: '516px'}], position: 9500, duration: 1500 },
            { id: "eid92", tween: [ "style", "${_muc-tieu-dao-tao-hoc-thiet-ke-web-lap-trinh-web-tai-htvsitecom-1}", "top", '140px', { fromValue: '398px'}], position: 11000, duration: 1500 },
            { id: "eid101", tween: [ "style", "${_Text2}", "top", '22px', { fromValue: '60px'}], position: 7500, duration: 5000 },
            { id: "eid109", tween: [ "style", "${_chimbay}", "left", '1256px', { fromValue: '1366px'}], position: 0, duration: 5000 },
            { id: "eid110", tween: [ "style", "${_chimbay}", "left", '988px', { fromValue: '1256px'}], position: 5000, duration: 5000 },
            { id: "eid111", tween: [ "style", "${_chimbay}", "left", '683px', { fromValue: '988px'}], position: 10000, duration: 5000 },
            { id: "eid112", tween: [ "style", "${_chimbay}", "left", '237px', { fromValue: '683px'}], position: 15000, duration: 5000 },
            { id: "eid113", tween: [ "style", "${_chimbay}", "left", '-115px', { fromValue: '237px'}], position: 20000, duration: 5000 },
            { id: "eid143", tween: [ "style", "${_chimbay3con}", "height", '88px', { fromValue: '101px'}], position: 0, duration: 3900 },
            { id: "eid100", tween: [ "style", "${_Text2}", "width", '1360px', { fromValue: '1160px'}], position: 7500, duration: 5000 },
            { id: "eid71", tween: [ "style", "${_Text}", "opacity", '0.15625', { fromValue: '0.000000'}], position: 0, duration: 1000 },
            { id: "eid72", tween: [ "style", "${_Text}", "opacity", '0.3125', { fromValue: '0.156250'}], position: 1000, duration: 1000 },
            { id: "eid73", tween: [ "style", "${_Text}", "opacity", '0.5', { fromValue: '0.312500'}], position: 2000, duration: 1000 },
            { id: "eid74", tween: [ "style", "${_Text}", "opacity", '0.7578125', { fromValue: '0.500000'}], position: 3000, duration: 1000 },
            { id: "eid75", tween: [ "style", "${_Text}", "opacity", '1', { fromValue: '0.757813'}], position: 4000, duration: 1000 },
            { id: "eid76", tween: [ "style", "${_Text}", "opacity", '0.5234375', { fromValue: '1'}], position: 5000, duration: 500 },
            { id: "eid77", tween: [ "style", "${_Text}", "opacity", '0.2343755', { fromValue: '0.523438'}], position: 5500, duration: 1000 },
            { id: "eid79", tween: [ "style", "${_Text}", "opacity", '0', { fromValue: '0.234375'}], position: 6500, duration: 1000 },
            { id: "eid134", tween: [ "style", "${_chimbay3con}", "left", '1198px', { fromValue: '1366px'}], position: 0, duration: 2730 },
            { id: "eid140", tween: [ "style", "${_chimbay3con}", "left", '926px', { fromValue: '1198px'}], position: 2730, duration: 1170 },
            { id: "eid145", tween: [ "style", "${_chimbay3con}", "left", '594px', { fromValue: '926px'}], position: 3900, duration: 2340 },
            { id: "eid149", tween: [ "style", "${_chimbay3con}", "left", '585px', { fromValue: '594px'}], position: 6240, duration: 3900 },
            { id: "eid152", tween: [ "style", "${_chimbay3con}", "left", '29px', { fromValue: '585px'}], position: 10140, duration: 1560 },
            { id: "eid184", tween: [ "style", "${_chimbay3con}", "left", '-101px', { fromValue: '29px'}], position: 11700, duration: 3510 },
            { id: "eid185", tween: [ "style", "${_chimbay3con}", "left", '-118px', { fromValue: '-101px'}], position: 15210, duration: 1290 },
            { id: "eid188", tween: [ "style", "${_chimbay3con}", "left", '-113px', { fromValue: '-118px'}], position: 16500, duration: 1000 },
            { id: "eid190", tween: [ "style", "${_chimbay3con}", "left", '-101px', { fromValue: '-113px'}], position: 17500, duration: 1000 },
            { id: "eid192", tween: [ "style", "${_chimbay3con}", "left", '-101px', { fromValue: '-101px'}], position: 18500, duration: 1000 },
            { id: "eid108", tween: [ "subproperty", "${_Text2}", "filter.blur", '0px', { fromValue: '4px'}], position: 12500, duration: 500 },
            { id: "eid85", tween: [ "style", "${_muc-tieu-dao-tao-hoc-thiet-ke-web-lap-trinh-web-tai-htvsitecom-1}", "height", '184px', { fromValue: '80px'}], position: 7500, duration: 2000 },
            { id: "eid88", tween: [ "style", "${_muc-tieu-dao-tao-hoc-thiet-ke-web-lap-trinh-web-tai-htvsitecom-1}", "height", '302px', { fromValue: '184px'}], position: 9500, duration: 1500 },
            { id: "eid91", tween: [ "style", "${_muc-tieu-dao-tao-hoc-thiet-ke-web-lap-trinh-web-tai-htvsitecom-1}", "height", '560px', { fromValue: '302px'}], position: 11000, duration: 1500 },
            { id: "eid142", tween: [ "style", "${_chimbay3con}", "width", '89px', { fromValue: '146px'}], position: 0, duration: 3900 },
            { id: "eid87", tween: [ "style", "${_muc-tieu-dao-tao-hoc-thiet-ke-web-lap-trinh-web-tai-htvsitecom-1}", "width", '200px', { fromValue: '88px'}], position: 7500, duration: 2000 },
            { id: "eid90", tween: [ "style", "${_muc-tieu-dao-tao-hoc-thiet-ke-web-lap-trinh-web-tai-htvsitecom-1}", "width", '342px', { fromValue: '200px'}], position: 9500, duration: 1500 },
            { id: "eid93", tween: [ "style", "${_muc-tieu-dao-tao-hoc-thiet-ke-web-lap-trinh-web-tai-htvsitecom-1}", "width", '634px', { fromValue: '342px'}], position: 11000, duration: 1500 },
            { id: "eid135", tween: [ "style", "${_chimbay3con}", "top", '97px', { fromValue: '60px'}], position: 0, duration: 2730 },
            { id: "eid141", tween: [ "style", "${_chimbay3con}", "top", '552px', { fromValue: '97px'}], position: 2730, duration: 1170 },
            { id: "eid146", tween: [ "style", "${_chimbay3con}", "top", '574px', { fromValue: '552px'}], position: 3900, duration: 2340 },
            { id: "eid150", tween: [ "style", "${_chimbay3con}", "top", '566px', { fromValue: '574px'}], position: 6240, duration: 3900 },
            { id: "eid153", tween: [ "style", "${_chimbay3con}", "top", '38px', { fromValue: '566px'}], position: 10140, duration: 1560 },
            { id: "eid186", tween: [ "style", "${_chimbay3con}", "top", '28px', { fromValue: '38px'}], position: 11700, duration: 3510 },
            { id: "eid187", tween: [ "style", "${_chimbay3con}", "top", '5px', { fromValue: '28px'}], position: 15210, duration: 1290 },
            { id: "eid189", tween: [ "style", "${_chimbay3con}", "top", '5px', { fromValue: '5px'}], position: 16500, duration: 0 },
            { id: "eid191", tween: [ "style", "${_chimbay3con}", "top", '5px', { fromValue: '5px'}], position: 17500, duration: 0 },
            { id: "eid193", tween: [ "style", "${_chimbay3con}", "top", '16px', { fromValue: '5px'}], position: 18500, duration: 1000 },
            { id: "eid60", tween: [ "style", "${_bg}", "left", '-230px', { fromValue: '-264px'}], position: 0, duration: 5000 },
            { id: "eid61", tween: [ "style", "${_bg}", "left", '-260px', { fromValue: '-230px'}], position: 5000, duration: 5000 },
            { id: "eid62", tween: [ "style", "${_bg}", "left", '-290px', { fromValue: '-260px'}], position: 10000, duration: 5000 },
            { id: "eid63", tween: [ "style", "${_bg}", "left", '-260px', { fromValue: '-290px'}], position: 15000, duration: 5000 },
            { id: "eid64", tween: [ "style", "${_bg}", "left", '-230px', { fromValue: '-260px'}], position: 20000, duration: 5000 },
            { id: "eid139", tween: [ "transform", "${_chimbay3con}", "rotateZ", '-26deg', { fromValue: '0deg'}], position: 0, duration: 3120 },
            { id: "eid144", tween: [ "transform", "${_chimbay3con}", "rotateZ", '-9deg', { fromValue: '-26deg'}], position: 3120, duration: 1170 },
            { id: "eid148", tween: [ "transform", "${_chimbay3con}", "rotateZ", '13deg', { fromValue: '-9deg'}], position: 4290, duration: 1950 },
            { id: "eid151", tween: [ "transform", "${_chimbay3con}", "rotateZ", '41deg', { fromValue: '13deg'}], position: 6240, duration: 3900 },
            { id: "eid162", tween: [ "transform", "${_chimbay3con}", "rotateZ", '19deg', { fromValue: '41deg'}], position: 10140, duration: 5070 },
            { id: "eid128", tween: [ "style", "${_cobay}", "top", '2px', { fromValue: '0px'}], position: 0, duration: 10000 },
            { id: "eid130", tween: [ "style", "${_cobay}", "top", '0px', { fromValue: '2px'}], position: 10000, duration: 5000 },
            { id: "eid84", tween: [ "style", "${_muc-tieu-dao-tao-hoc-thiet-ke-web-lap-trinh-web-tai-htvsitecom-1}", "left", '0px', { fromValue: '-94px'}], position: 7500, duration: 1000 }         ]
      }
   }
}
};


Edge.registerCompositionDefn(compId, symbols, fonts, resources);

/**
 * Adobe Edge DOM Ready Event Handler
 */
$(window).ready(function() {
     Edge.launchComposition(compId);
});
})(jQuery, AdobeEdge, "EDGE-13585333");
